package com.gjun.struts.resource.dao;

import java.util.List;

import com.gjun.struts.bean.ext.Book;

public interface IBookDao {
	public List<Book> findNewBook();
	public List<Book> findRecommendBook();
	public Book getBookById(int id);
	public void saveBook(Book book);
	public int getLastId();
	//添加
	public List<Book> findBookByConditions(String conditions);
	public List<Book> findBookByConditions(String conditions,int start,int max);
	public int delBooksById(int id);
	public void delBooks(Book book);
	public void updateBook(Book book);
}
